package com.canbot.u05.activity.firstguide

import android.content.Intent
import android.os.Bundle
import android.view.View

import com.canbot.u05.R
import com.canbot.u05.activity.BaseActivityNoTitle
import com.canbot.u05.socket.MsgSendUtils
import com.canbot.u05.socket.MsgType
import com.canbot.u05.utils.PathConst

/**
 * desc: 咨询问答设置说明界面
 * author: xxl
 * date: 2019/6/19
 */
class AdvisoryInstructionActivity : BaseActivityNoTitle() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_advisory_instruction)
    }

    override fun onResume() {
        super.onResume()
        MsgSendUtils.sendStringMsg(MsgType.PLAY_SOUND, PathConst.ADMIN_AUDIO_PATH + "zxwdsm_szscyd_u05_001.mp3")
    }

    fun nextStep(view: View) = startActivity(Intent(this, OtherInstructionActivity::class.java))

    fun back(view: View) = finish()
}
